﻿<go:ControlPageBase x:Class="SuperGo.Silverlight.MessageBox"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:go="clr-namespace:SuperGo.Silverlight"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    >

    <Grid x:Name="LayoutRoot" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>

        <Grid Grid.RowSpan="3" Grid.ColumnSpan="3" Background="Gray" Opacity=".7" />

        <go:GoPanel x:Name="_goPanel" Grid.Row="1" Grid.Column="1">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="30" />
                </Grid.RowDefinitions>

                <TextBlock Grid.Row="0" Grid.ColumnSpan="2" x:Name="_text" TextWrapping="Wrap" Margin="5" />

                <Button Grid.Column="0" Grid.Row="1" x:Name="_Button1" Visibility="Visible" Height="30" Content="Button1" Margin="0, 0, 10, 0" />
                <Button Grid.Column="1" Grid.Row="1" x:Name="_Button2" Visibility="Collapsed" Height="30" Content="Button2" />
            </Grid>
        </go:GoPanel>
    </Grid>
</go:ControlPageBase>
